DATA SEGMENT
    DDVAR DD 00000000H ; 123455AAH
    COUNT DB 0
ENDS

CODE SEGMENT
    ASSUME CS:CODE, DS:DATA
START:
    MOV AX, DATA
    MOV DS, AX

    MOV CX, 16
    MOV AX, DDVAR
    ADD AX, 0   
L1: JNS N1
    ADD COUNT, 1
N1: SHL DDVAR, 1
    LOOP L1
    
    MOV CX, 16
    MOV AX, DDVAR[2]
    ADD AX, 0    
L2: JNS N2
    ADD COUNT, 1
N2: SHL DDVAR[2], 1
    LOOP L2           
ENDS

END START
